Skip to content

Redesign Service-Worker-Allowed header extraction#1830

Merged
yoshisatoyanagisawa merged 1 commit into
w3c:mainfrom
yoshisatoyanagisawa:extract
Jul 6, 2026
Merged

Redesign Service-Worker-Allowed header extraction#1830
yoshisatoyanagisawa merged 1 commit into
w3c:mainfrom
yoshisatoyanagisawa:extract

Conversation

@yoshisatoyanagisawa

@yoshisatoyanagisawa yoshisatoyanagisawa commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

This change updates the Service-Worker-Allowed header handling to use modern Fetch primitives. Specifically:

  1. Replaced 'extracting header list values' with 'header list/get'.
  2. Added an explicit 'isomorphic decode' step for the header value.
  3. Moved the failure check to follow the URL parsing step.

Fixes #1360


Preview | Diff

This change updates the Service-Worker-Allowed header handling to use modern
Fetch primitives. Specifically:
1. Replaced 'extracting header list values' with 'header list/get'.
2. Added an explicit 'isomorphic decode' step for the header value.
3. Moved the failure check to follow the URL parsing step.

Fixes w3c#1360
@yoshisatoyanagisawa

Copy link
Copy Markdown
Collaborator Author

@monica-ch Will you review this?
Thank you.

@monica-ch monica-ch left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yoshisatoyanagisawa yoshisatoyanagisawa merged commit e91ddff into w3c:main Jul 6, 2026
2 checks passed
github-actions Bot added a commit that referenced this pull request Jul 6, 2026
SHA: e91ddff
Reason: push, by yoshisatoyanagisawa

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot added a commit to asleekgeek/ServiceWorker that referenced this pull request Jul 7, 2026
SHA: e91ddff
Reason: push, by pull[bot]

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redesign of "extract header list values" expected

2 participants